package com.digitalchina.dcn.dcss.web.dao;

import com.digitalchina.dcn.dcss.core.generic.GenericDao;
import com.digitalchina.dcn.dcss.web.model.User;

import java.util.List;

public interface UserMapper extends GenericDao<User, Long> {
    int insert(User record);

    int updateByPrimaryKey(User record);

    List<User> findAll();

    User findByUsername(String username);
}